Invoke the correct xmlstarlet executable on Debian systems.
authorRob Browning <rlb@defaultvalue.org>
Tue, 5 Apr 2011 03:46:30 +0000 (22:46 -0500)
committerRob Browning <rlb@defaultvalue.org>
Thu, 7 Apr 2011 05:49:45 +0000 (00:49 -0500)
Emacs now invokes the correct xmlstarlet executable on Debian systems.

Emacs invokes xmlstarlet rather than xml, which is the correct
executable name on Debian systems.

Provided-by: Jussi Judin <jjudin+debian@iki.fi>
Date: Sat, 20 Oct 2007 14:42:02 UTC
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: Debian specific
Bug: 447378

lisp/progmodes/flymake.el

index da28a2e36f6686950205e0c3b0abb74754cf14a8..81f6017679014ff3ca3bb88eae858ca9ccf323ee 100644 (file)
@@ -1760,7 +1760,7 @@ Use CREATE-TEMP-F for creating temp copy."
 
 ;;;; xml-specific init-cleanup routines
 (defun flymake-xml-init ()
-  (list "xml" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
+  (list "xmlstarlet" (list "val" (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace))))
 
 (provide 'flymake)